home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 8
/
Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso
/
Aminet
/
dev
/
c
/
c2local.readme
< prev
next >
Wrap
Text File
|
1995-09-20
|
4KB
|
70 lines
Short: V1.0, automatic localization for C/C++ sourcecodes
Author: meixner@rbg.informatik.th-darmstadt.de (Matthias Meixner)
Uploader: meixner@rbg.informatik.th-darmstadt.de (Matthias Meixner)
Background
----------
From version 2.1 of the Amiga operatingsystem on, it is possible to generate
programs that support more than one language. One language is compiled into
the program and the other languages are stored in the so called catalogs.
The operatingsystem determines the language on runtime and loads the corres-
ponding catalog. If you want to write a program that supports catalogs, you
must replace all strings by a localizeable version, since the strings are not
the same in all languages. The goal of C2Local was to allow the programmer to
continue programming in the old way, using normal strings, since such source-
code is more readable, and then automatically generate a localized version of
this program. C2Local allows this for nearly all C and C++ sourcecodes. Pro-
grams like CatComp generate sourcecode to access localized strings, but the
programmer must adapt his program by hand. "Localize" is able to patch source-
codes to support locale.library, but it leaves many cases, which cannot be
automatically localized, e.g. the static initialization of structures. Now
C2Local can even localize most of these cases. There is only one exception:
the static initialization of char-arrays.
e.g.
char a[]="test";
cannot be localized automatically, but the more important case
char *a="test"
can be localized using C2Local. This latter case is far more often used, e.g.
it is required for static initialization of menus. Therefore one can localize
menus or gadgets without any problems using C2Local.
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
628 271 56.8% 27-Apr-95 21:54:22 c2local.info
62260 32137 48.3% 30-Jun-95 00:03:08 +c2local
1026 555 45.9% 30-Jun-95 00:03:08 +c2local.catalog
544 355 34.7% 30-Jun-95 00:03:08 +ccomp.catalog
414 276 33.3% 30-Jun-95 00:03:08 +ctmerge.catalog
394 261 33.7% 30-Jun-95 00:03:08 +strmerge.catalog
42964 22998 46.4% 30-Jun-95 00:03:08 +ccomp
40592 21532 46.9% 30-Jun-95 00:03:08 +ctmerge
41276 22148 46.3% 30-Jun-95 00:03:08 +strmerge
16797 5851 65.1% 30-Jun-95 00:03:06 +c2local.doc
835 319 61.7% 27-Apr-95 21:55:54 +c2local.doc.info
19292 7035 63.5% 30-Jun-95 00:03:06 +c2local.dok
835 315 62.2% 27-Apr-95 21:56:02 +c2local.dok.info
628 274 56.3% 17-Jun-95 00:16:08 +Example.info
1958 919 53.0% 30-Jun-95 00:03:08 +Beispiel.dok
835 314 62.3% 17-Jun-95 00:16:08 +Beispiel.dok.info
194 153 21.1% 30-Jun-95 00:03:08 +deutsch.ct
63 63 0.0% 30-Jun-95 00:03:08 +edit_script
1978 904 54.2% 30-Jun-95 00:03:08 +Example.doc
835 314 62.3% 17-Jun-95 00:16:08 +Example.doc.info
122 99 18.8% 30-Jun-95 00:03:08 +hello.c
32 32 0.0% 30-Jun-95 00:03:08 +hello_change.str
746 340 54.4% 30-Jun-95 00:03:08 +makelocal
2788 1302 53.2% 30-Jun-95 00:03:06 +liesmich
835 315 62.2% 27-Apr-95 21:55:46 +liesmich.info
2534 1186 53.1% 30-Jun-95 00:03:06 +readme
835 318 61.9% 27-Apr-95 21:55:58 +readme.info
-------- ------- ----- --------- --------
242240 120586 50.2% 04-Jul-95 13:02:06 27 files